import request from '@/utils/request'

// 查询试剂瓶记录列表
export function listReagentBottleBac(query) {
  return request({
    url: '/product/reagentBottleBac/list',
    method: 'get',
    params: query
  })
}

// 查询试剂瓶记录详细
export function getReagentBottleBac(bottleId) {
  return request({
    url: '/product/reagentBottleBac/' + bottleId,
    method: 'get'
  })
}

// 新增试剂瓶记录
export function addReagentBottleBac(data) {
  return request({
    url: '/product/reagentBottleBac',
    method: 'post',
    data: data
  })
}

// 修改试剂瓶记录
export function updateReagentBottleBac(data) {
  return request({
    url: '/product/reagentBottleBac',
    method: 'put',
    data: data
  })
}

// 删除试剂瓶记录
export function delReagentBottleBac(bottleId) {
  return request({
    url: '/product/reagentBottleBac/' + bottleId,
    method: 'delete'
  })
}

// 导出试剂瓶记录
export function exportReagentBottleBac(query) {
  return request({
    url: '/product/reagentBottleBac/export',
    method: 'get',
    params: query
  })
}
